rps: main/main.o compare/compare.o print/print.o select/select.o
	g++ -o rps main/main.o compare/compare.o print/print.o select/select.o
main.o: main/main.cpp
	g++ -c main/main.cpp
compare.o: compare/compare.cpp
	g++ -c compare/compare.cpp
print.o: print/print.cpp
	g++ -c print/print.cpp
select.o: select/select.cpp
	g++ -c select/select.cpp

clean:
	rm compare/compare.o main/main.o print/print.o select/select.o
	rm rps